package cn.iocoder.yudao.module.erp.controller.admin.invoiceintegration.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 发票整合分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class InvoiceIntegrationPageReqVO extends PageParam {

    @Schema(description = "整合编号", example = "2232")
    private String integrationId;

    @Schema(description = "总价格")
    private BigDecimal orderTotalPric;

    @Schema(description = "订单数量")
    private BigDecimal orderNum;

    @Schema(description = "状态", example = "2")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "发票审核状态", example = "2")
    private String invoiceStatus;

    @Schema(description = "打款审核状态", example = "2")
    private String payStatus;

    @Schema(description = "流程实例的编号", example = "2")
    private String processInstanceId;
    //    流程实例的集合
    private List<String> processInstanceIds;

    //    页面的标识   0 发票整合  1 发票审核  2 院办打款审批
    private String flag = "0";
}